﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class ChiTietDienThoaiDTO
    {
        #region 1   -   Attributes

        private int _iD;
                
        private int _maSanPham;

        private string _tanSo;

        private string _kieuDang;

        private string _kichThuoc;
       
        private string _trongLuong;
       
        private string _thongTinManHinh;

        private string _kichThuocManHinh;
       
        private string _doPhanGiaiManHinh;
              
        private string _kieuChuong;

        private bool _rung;

        private string _soLuongDanhBa;

        private string _nhatKyCuocGoi;

        private string _dungLuongBoNhoTrong;
        
        private string _dungLuongBoNhoNgoaiHoTro;
      
        private string _tinNhan;
                
        private string _cacKieuKetNoi;
                
        private string _camera;

        private string _thoiGianCho;
              
        private string _thoiGianThoai;
               
        private string _thongTinBaoHanh;

        private int _nhomDienThoai;
        
        private string _thongTinThem;
        
        private string _pin;
             
        #endregion

        #region 2   -   Properties

        public string KieuDang
        {
            get { return _kieuDang; }
            set { _kieuDang = value; }
        }

        public string ThongTinManHinh
        {
            get { return _thongTinManHinh; }
            set { _thongTinManHinh = value; }
        }

        public string KieuChuong
        {
            get { return _kieuChuong; }
            set { _kieuChuong = value; }
        }

        public int ID
        {
            get { return _iD; }
            set { _iD = value; }
        }

        public int MaSanPham
        {
            get { return _maSanPham; }
            set { _maSanPham = value; }
        }

        public string TanSo
        {
            get { return _tanSo; }
            set { _tanSo = value; }
        }

        public string KichThuoc
        {
            get { return _kichThuoc; }
            set { _kichThuoc = value; }
        }

        public string TrongLuong
        {
            get { return _trongLuong; }
            set { _trongLuong = value; }
        }

        public string KichThuocManHinh
        {
            get { return _kichThuocManHinh; }
            set { _kichThuocManHinh = value; }
        }

        public bool Rung
        {
            get { return _rung; }
            set { _rung = value; }
        }

        public string SoLuongDanhBa
        {
            get { return _soLuongDanhBa; }
            set { _soLuongDanhBa = value; }
        }

        public string NhatKyCuocGoi
        {
            get { return _nhatKyCuocGoi; }
            set { _nhatKyCuocGoi = value; }
        }

        public string DoPhanGiaiManHinh
        {
            get { return _doPhanGiaiManHinh; }
            set { _doPhanGiaiManHinh = value; }
        }

        public string DungLuongBoNhoTrong
        {
            get { return _dungLuongBoNhoTrong; }
            set { _dungLuongBoNhoTrong = value; }
        }

        public string DungLuongBoNhoNgoaiHoTro
        {
            get { return _dungLuongBoNhoNgoaiHoTro; }
            set { _dungLuongBoNhoNgoaiHoTro = value; }
        }

        public string TinNhan
        {
            get { return _tinNhan; }
            set { _tinNhan = value; }
        }

        public string Pin
        {
            get { return _pin; }
            set { _pin = value; }
        }

        public string CacKieuKetNoi
        {
            get { return _cacKieuKetNoi; }
            set { _cacKieuKetNoi = value; }
        }

        public string Camera
        {
            get { return _camera; }
            set { _camera = value; }
        }

        public string ThoiGianCho
        {
            get { return _thoiGianCho; }
            set { _thoiGianCho = value; }
        }

        public string ThoiGianThoai
        {
            get { return _thoiGianThoai; }
            set { _thoiGianThoai = value; }
        }

        public int NhomDienThoai
        {
            get { return _nhomDienThoai; }
            set { _nhomDienThoai = value; }
        }

        public string ThongTinBaoHanh
        {
            get { return _thongTinBaoHanh; }
            set { _thongTinBaoHanh = value; }
        }

        public string ThongTinThem
        {
            get { return _thongTinThem; }
            set { _thongTinThem = value; }
        }

        #endregion

        #region 3   -   Constructors

        public ChiTietDienThoaiDTO() { }

        public ChiTietDienThoaiDTO(int id, int masanpham, string kieudang, string kichthuoc,
            string trongluong, string thongtinmanhinh, string kichthuocmanhinh, string dophangiaimanhinh,
            string kieuchuong, bool rung, string soluongdanhba, string nhatkicuocgoi, string dungluongbonhotrong,
            string dungluongbonhongoaihotro, string tinnhan, string cackieuketnoi, string camera, string pin,
            string thoigiancho, string thoigianthoai, string thongtinbaohanh, int nhomdienthoai, string thongtinthem)
        {
            ID = id;
            MaSanPham = masanpham;
            KieuDang = kieudang;
            TrongLuong = trongluong;
            ThongTinManHinh = thongtinmanhinh;
            KichThuocManHinh = kichthuocmanhinh;
            DoPhanGiaiManHinh = dophangiaimanhinh;
            KieuChuong = kieuchuong;
            Rung = rung;
            SoLuongDanhBa = soluongdanhba;
            NhatKyCuocGoi = nhatkicuocgoi;
            DungLuongBoNhoTrong = dungluongbonhotrong;
            DungLuongBoNhoNgoaiHoTro = dungluongbonhongoaihotro;
            TinNhan = tinnhan;
            CacKieuKetNoi = cackieuketnoi;
            Camera = camera;
            Pin = pin;
            ThoiGianCho = thoigiancho;
            ThoiGianThoai = thoigianthoai;
            NhomDienThoai = nhomdienthoai;
            ThongTinThem = thongtinthem;
        }

        #endregion
    }
}
